package com.zb.extend;

import com.zb.entity.ZjCodePrintTemplateComponent;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2023/9/8 0008
 **/
@Data
@ApiModel("编码打印模板组件继承对象")
public class CodePrintTemplateComponentExtend extends ZjCodePrintTemplateComponent {

    public CodePrintTemplateComponentExtend(Long id, Long custAccId, Long printTemplateId, Integer type, String name) {
        this.setId(id);
        this.setCustAccId(custAccId);
        this.setPrintTemplateId(printTemplateId);
        this.setParentId(0L);
        this.setName(name);
        this.setType(type);
        this.setWidth(0F);
        this.setHeight(0F);
        this.setLockScale(false);
        this.setScaleSize(0F);
        this.setCoordinateX(0F);
        this.setCoordinateY(0F);
        this.setRotateAngle(0F);
        this.setCodeType(0);
        this.setImage("");
        this.setTextFont(0);
        this.setTextWordSize(0F);
        this.setTextRowHeight(0F);
        this.setTextIndent(0F);
        this.setTextSpacing(0F);
        this.setTextAlign(1);
        this.setTextBold(false);
        this.setTextIncline(false);
        this.setTextUnderline(false);
        this.setTextColor("");
    }
}
